package com.carleasoft.mps.adu.business.user.bean.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 鉴定资质证书
 * </p>
 *
 * @author fan
 * @since 2023-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("m_authority_user_basicInfo_ql_credential")
public class MAuthorityUserBasicinfoQlCredential implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
      @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 关联人员编码
     */
    @TableField("USER_CODE")
    private String userCode;

    /**
     * 名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 附件
     */
    @TableField("ATTACHMENT")
    private String attachment;

      @TableField(value = "CREATE_PERSON_CODE", fill = FieldFill.INSERT)
    private String createPersonCode;

      @TableField(value = "CREATE_PERSON_NAME", fill = FieldFill.INSERT)
    private String createPersonName;

      @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(value = "UPDATE_PERSON_CODE", fill = FieldFill.UPDATE)
    private String updatePersonCode;

      @TableField(value = "UPDATE_PERSON_NAME", fill = FieldFill.UPDATE)
    private String updatePersonName;

      @TableField(value = "UPDATE_TIME", fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
    /**
     * 逻辑删除 0 未删除 1 删除
     */
    @TableField("IS_DELETE")
    private Integer isDelete;
}
